import React from 'react'
import dayjs from 'dayjs'
function Mytime({time}) {
    console.log(time)
  return (
    <div>
        {/* 时间的格式转换 */}
      <span>{dayjs(time).format('YYYY-MM-DD')} </span>
    </div>
  )
}

export default Mytime
